package com.example.zjsr.dao;

import com.example.zjsr.domain.Anchors;
import com.example.zjsr.domain.AnchorsInfo;
import com.example.zjsr.domain.ExcelFruit;
import com.example.zjsr.domain.ExcelFruitInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExcelDao {
    int leadAnchors(List<Anchors> anchorsList);

    int leadAnchorsInfo(List<AnchorsInfo> anchorsInfoList);

    int leadFruit(List<ExcelFruit> fruitArrayList);

    Integer leadFruitInfo(List<ExcelFruitInfo> excelFruitInfoArrayList);

    int insertFruitPicture(@Param("fruitId") Integer fruitId,@Param("path") String path);

    void deleteFruitInfo(@Param("fruitId") Integer fruitId);

    void deleteFruit();

    List<ExcelFruit> downloadFruit();
}
